<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "App",
  data() {
    return {
      WXConfig:"",
    };
  },
  mounted() {
    
  },
  methods: {
    //获取邀请链接
    async getWXConfig() {
      let params = {
        // token: this.$cookies.get("token")
      };
      const res = await this.$axios.post(this.$api.shareWeixin, params);
      if (res.code == 1) {
        this.WXConfig = res.data.res;
        this.$toast.clear();
      } else {
        this.$toast("获取微信SDK失败：" + res.msg);
         this.$toast.clear();
      }
    }
  }
};
</script>


<style>
@import "./assets/css/public.css";
.van-nav-bar__title {
  color: #202020;
  font-size: 0.18rem;
}
.van-nav-bar .van-icon {
  color: #202020;
}
.van-nav-bar__arrow {
  font-size: 0.18rem;
}
.van-swipe-item img {
  width: 100%;
}
</style>
